package org.example.dao;

import org.springframework.data.repository.query.Param;

import java.util.List;
import java.util.Map;

public interface DemoMapper {
    String demo();

    List<Map<String, Object>> getDistrict();

    List<Map<String, Object>> getFactory();

    List<Map<String, Object>> getDeviceType();

    int getMaxDeviceCode();

    void insertDevice(@Param("list") List<Map<String, Object>> list);

    void insertDeviceData(@Param("list") List<String> list);

    void insertDeviceStatusData(@Param("startDate") String startDate, @Param("endDate") String endDate);

    void insertDeviceReport(@Param("startDate") String startDate, @Param("endDate") String endDate);
}
